package com.xuanxing123.dao;

import com.xuanxing123.model.Module;

import java.util.List;

/**
 * An interface that provides a data management interface to the Module table.
 */
public interface ModuleDao extends GenericDao<Module, Long> {
    
    /**
     * Finds modules by type id.
     * @param productTypeId product type Id
     * @return modules
     */
    List<Module> getModulesByTypeId(Long productTypeId);
    
}